#ifndef GAMEWINDOW_H
#define GAMEWINDOW_H

#include <QWidget>
#include "mypushbutton.h"
#include <QPainter>
#include <QLabel>
#include "coin.h"
#include "dataconfig.h"
#include <QPropertyAnimation>

class gameWindow : public QWidget
{
    Q_OBJECT
public:
    //explicit gameWindow(QWidget *parent = nullptr);

    gameWindow(int levelNum);

    int m_leveNum;
    void paintEvent(QPaintEvent*);
    int coinData[4][4];
    Coin* coinPix[4][4];
    bool is_win;

signals:
    void backChoseWindow();

};

#endif // GAMEWINDOW_H
